﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: PayPlatFormEntity.cs
// 修改时间：2020-9-8 10:40:07
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：PayPlatForm 的实体类.
	/// </summary>
	[Table("PayPlatForm")]
	public partial class PayPlatFormEntity
	{
		#region Properties
		private int? _payPlatformID = 0;
		/// <summary>
		/// 平台ID(主键)
		/// </summary>
		[Column("PayPlatformID",TypeName="int")]
		[Key]
		public int? PayPlatformID
		{
			get {return _payPlatformID;}
			set {_payPlatformID = value;}
		}
		
		private System.String _payPlatformName = string.Empty;
		/// <summary>
		/// 平台名称
		/// </summary>
		[Column("PayPlatformName",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String PayPlatformName
		{
			get {return _payPlatformName;}
			set {_payPlatformName = value;}
		}
		
		private System.String _accountsID = string.Empty;
		/// <summary>
		/// 帐号
		/// </summary>
		[Column("AccountsID",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String AccountsID
		{
			get {return _accountsID;}
			set {_accountsID = value;}
		}
		
		private System.String _md5 = string.Empty;
		/// <summary>
		/// MD5密钥
		/// </summary>
		[Column("MD5",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String MD5
		{
			get {return _md5;}
			set {_md5 = value;}
		}
		
		private double? _rate = 0.0f;
		/// <summary>
		/// 手续费
		/// </summary>
		[Column("Rate",TypeName="float")]
		public double? Rate
		{
			get {return _rate;}
			set {_rate = value;}
		}
		
		private int? _orderSort = 0;
		/// <summary>
		/// 排序ID
		/// </summary>
		[Column("OrderSort",TypeName="int")]
		public int? OrderSort
		{
			get {return _orderSort;}
			set {_orderSort = value;}
		}
		
		private System.Boolean _isDisabled = false;
		/// <summary>
		/// 是否启用
		/// </summary>
		[Column("IsDisabled",TypeName="bit")]
		public System.Boolean IsDisabled
		{
			get {return _isDisabled;}
			set {_isDisabled = value;}
		}
		
		private System.Boolean _isDefault = false;
		/// <summary>
		/// 是否默认
		/// </summary>
		[Column("IsDefault",TypeName="bit")]
		public System.Boolean IsDefault
		{
			get {return _isDefault;}
			set {_isDefault = value;}
		}
		
		#endregion
	}
}
